<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>淘宝网 - 模仿版</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }
        
        /* 顶部导航栏 */
        .site-nav {
            height: 35px;
            background-color: #f5f5f5;
            border-bottom: 1px solid #e5e5e5;
        }
        
        /* 搜索区域 */
        .search-container {
            width: 100%;
            padding: 16px 272px 8px 272px;
            box-sizing: border-box;
            text-align: center;
        }
        
        .logo {
            margin: 10px 0;
        }
        
        .logo img {
            height: 70px;
        }
        
        .search-box {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }
        
        .search-input {
            width: 100%;
            height: 40px;
            border: 2px solid #ff4400;
            border-radius: 20px;
            padding: 0 20px;
            font-size: 16px;
            box-sizing: border-box;
        }
        
        .search-button {
            position: absolute;
            right: 4px;
            top: 4px;
            width: 67px;
            height: 32px;
            border-radius: 8px;
            background: #ff4400;
            color: white;
            border: none;
            cursor: pointer;
        }
        
        /* 导航菜单 */
        .main-nav {
            width: 100%;
            height: 48px;
            background-color: #ff4400;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .nav-item {
            color: white;
            padding: 0 20px;
            font-size: 16px;
        }
        
        /* 主要内容区域 */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* 广告横幅 */
        .banner {
            width: 100%;
            height: 400px;
            background: linear-gradient(to right, #ff7a45, #ff4400);
            border-radius: 12px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 32px;
        }
        
        /* 分类导航 */
        .categories {
            display: flex;
            justify-content: space-around;
            margin: 20px 0;
        }
        
        .category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .category-icon {
            width: 48px;
            height: 48px;
            background-color: #f5f5f5;
            border-radius: 50%;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .category-name {
            font-size: 14px;
        }
        
        /* 商品展示 */
        .products {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
        }
        
        .product-card {
            flex: 0 0 20%;
            max-width: 20%;
            padding: 10px;
            box-sizing: border-box;
        }
        
        .product-image {
            width: 100%;
            height: 0;
            padding-top: 100%; /* 正方形比例 */
            background-color: #f5f5f5;
            border-radius: 8px;
            margin-bottom: 8px;
        }
        
        .product-title {
            height: 20px;
            background-color: #f5f5f5;
            border-radius: 4px;
            margin-bottom: 8px;
        }
        
        .product-price {
            height: 20px;
            background-color: #f5f5f5;
            border-radius: 4px;
            width: 60%;
        }
        
        /* 底部 */
        .footer {
            background-color: #f5f5f5;
            padding: 20px;
            text-align: center;
            margin-top: 30px;
        }
        
        @media (max-width: 1200px) {
            .product-card {
                flex: 0 0 25%;
                max-width: 25%;
            }
        }
        
        @media (max-width: 992px) {
            .product-card {
                flex: 0 0 33.33%;
                max-width: 33.33%;
            }
        }
        
        @media (max-width: 768px) {
            .product-card {
                flex: 0 0 50%;
                max-width: 50%;
            }
            
            .search-container {
                padding: 16px 20px 8px 20px;
            }
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="site-nav"></div>
    
    <!-- 搜索区域 -->
    <div class="search-container">
        <div class="logo">
            <h1>淘宝网</h1>
        </div>
        <div class="search-box">
            <input type="text" class="search-input" placeholder="搜索商品">
            <button class="search-button">搜索</button>
        </div>
    </div>
    
    <!-- 主导航 -->
    <div class="main-nav">
        <div class="nav-item">首页</div>
        <div class="nav-item">女装</div>
        <div class="nav-item">男装</div>
        <div class="nav-item">鞋包</div>
        <div class="nav-item">家电</div>
        <div class="nav-item">数码</div>
        <div class="nav-item">美妆</div>
    </div>
    
    <!-- 主要内容 -->
    <div class="container">
        <!-- 广告横幅 -->
        <div class="banner">
            淘宝大促 - 全场低至1折起
        </div>
        
        <!-- 商品分类 -->
        <div class="categories">
            <div class="category-item">
                <div class="category-icon">服</div>
                <div class="category-name">服装</div>
            </div>
            <div class="category-item">
                <div class="category-icon">数</div>
                <div class="category-name">数码</div>
            </div>
            <div class="category-item">
                <div class="category-icon">家</div>
                <div class="category-name">家居</div>
            </div>
            <div class="category-item">
                <div class="category-icon">美</div>
                <div class="category-name">美妆</div>
            </div>
            <div class="category-item">
                <div class="category-icon">运</div>
                <div class="category-name">运动</div>
            </div>
            <div class="category-item">
                <div class="category-icon">母</div>
                <div class="category-name">母婴</div>
            </div>
        </div>
        
        <!-- 商品展示 -->
        <div class="products">
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
            <div class="product-card">
                <div class="product-image"></div>
                <div class="product-title"></div>
                <div class="product-price"></div>
            </div>
        </div>
    </div>
    
    <!-- 底部 -->
    <div class="footer">
        <p>淘宝网 - 简化版演示页面</p>
        <p>此页面为学习目的创建，仅用于演示</p>
    </div>
</body>
</html>